package com.zhaozhe.singleton;

/**
 * 饿汉模式 线程安全
 * Created by ghjou on 2018/3/7.
 */
public class SingletonHungry {
    private static SingletonHungry instance = new SingletonHungry();

    public static SingletonHungry getInstance(){
        return  instance;
    }
}
